package com.sea.app.common.kit.signature;

import java.util.zip.CRC32;

/**
 * Created by 31417 on 2017/4/9.
 */
public class CRC {

    public long compute(byte[] data) {
        CRC32 crc32 = new CRC32();
        crc32.update(data);
        return crc32.getValue();
    }
}
